window.tywx || (window.tywx = {}),
            tywx.Timer = {
                setTimer: function (e, t, n, o, i) {
                    e && e._TAG && tywx.LOGD("tywx.Timer", "----------in setTimer----------" + (e._TAG ? e._TAG : ""));
                    var a = cc.director.getScheduler();
                    null != o || cc.macro.REPEAT_FOREVER;
                    a.schedule(t, e, n, o, i, !1);
                },
                cancelTimer: function (e, t) {
                    e && e._TAG && tywx.LOGD("tywx.Timer", "----------in cancelTimer ---------" + (e._TAG ? e._TAG : "")),
                        cc.director.getScheduler().unschedule(t, e);
                },
                isScheduledTimer: function (e, t) {
                    return e && e._TAG && tywx.LOGD("tywx.Timer", "----------in isScheduledTimer ---------" + (e._TAG ? e._TAG : "")),
                        cc.director.getScheduler().isScheduled(t, e);
                }
            }
